package com.entfrm.biz.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.entfrm.biz.system.entity.TOrder;
import com.entfrm.biz.system.mapper.TOrderMapper;
import com.entfrm.biz.system.service.OrderService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> implements OrderService {
    /**
     * 我买的订单
     * @return
     */
    public List<TOrder> getMyBuyOrders(Integer buyId){
        return baseMapper.getMyBuyOrders(buyId);
    }
}
